package com.rampage.multitimers.bo;

import java.io.Serializable;

public class TimerConfig implements Serializable {


	/**
	 * 
	 */
	private static final long serialVersionUID = -7296838425148151803L;
	/**
	 * 
	 */
	
	
	public int seconds;
	public int warningAt = 6;
	public String name;
	public int status;
	public boolean voiceWarning = false;
	public String filename;
	
	@Override
	public String toString() {
		return name + " (" + seconds + " secondes at " + warningAt + ")";
	}
	
	public String toFileSummary() {
		return name+";"+seconds+";"+warningAt+";"+voiceWarning+";"+filename;
	}
}
